package com.hbnu.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("workpress")
public class Work_press implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "出版社主键")
    @TableId(value = "ID", type = IdType.ASSIGN_ID)
    private int WorkPressID;

    /**
     * 出版社等级
     *
     */
    @ApiModelProperty(value = "出版社等级")
    @TableField("PressLevel")
    private String pressLevel;

    /**
     * 出版社分数
     *
     */
    @ApiModelProperty(value = "出版社分数")
    @TableField("PressValue")
    private float pressValue;
}
